-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rewrite releasing scripts for packit compatibility #462
Conversation
30c7b91
to
b53f3f9
Compare
45fc948
to
c07cc00
Compare
"77" might not be as visible in a release string as "dev". Signed-off-by: mulhern <[email protected]>
c07cc00
to
d8faf10
Compare
98d321e
to
80f092d
Compare
There also seems to be an issue with create_artifacts when no suffix is specified: there is an extra
That resulted in successful source RPM builds, but I ran into a failure on the untar phase for the crate, because the top level directory in the tar file was named "stratisd-3.6.0~". |
sed --in-place -E "s/(^Version.*)${STRATISD_SPEC_VERSION}/\1${STRATISD_SPEC_VERSION}${STRATISD_SUFFIX}/g" SPECS/stratisd.spec | ||
sed --in-place -E "s/(^Version.*)${STRATISCLI_SPEC_VERSION}/\1${STRATISCLI_SPEC_VERSION}${STRATISCLI_SUFFIX}/g" SPECS/stratis-cli.spec | ||
# Remove the "Requires: stratisd" line in stratis-cli.spec. | ||
sed -i "/Requires.*stratisd/d" ../distro/stratis-cli.spec |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some of the create_artifacts.py references to the spec files were pointing to the wrong directory level:
On line 69, for stratisd, it should read --specfile-path=../../SPECS/stratisd.spec
On line 72, for stratis-cli, --specfile-path=../../SPECS/stratis-cli.spec
On line 76: sed -i "/Requires.*stratisd/d" SPECS/stratis-cli.spec
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good now.
Signed-off-by: mulhern <[email protected]>
352caae
to
6499bc0
Compare
Related stratis-storage/stratisd#3216